package week1;

public class student2 {
    protected String name;
    protected int number;
    protected String hobby;
    protected  student2 next=null;

    public student2(String name,int number,String hobby){
        this.name=name;
        this.number=number;
        this.hobby=hobby;
    }
}
